package com.gitee.linzl;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
// 开启feign client
@EnableFeignClients
// 开启断路器装配
@EnableCircuitBreaker
public class SpringAdminClientBootstrap {
	public static void main(String[] args) {
		SpringApplication app = new SpringApplication(SpringAdminClientBootstrap.class);
		app.setBannerMode(Banner.Mode.OFF);
		app.run(args);
	}
}
